import { Entity, Column, PrimaryGeneratedColumn, OneToOne } from "typeorm"

@Entity('usermenu')

export class UserMenu {
    @PrimaryGeneratedColumn()
    id: number

    @Column({ type: 'varchar', length: 255 })
    module_name: string

    @Column({ type: "varchar", charset: "utf8mb4" })
    module_desc: string


    @Column({ type: "varchar", charset: "utf8mb4" })
    url: string

    @Column({ type: "int" })
    p_id: number

    @Column({ type: "varchar", charset: "utf8mb4" })
    opt_value: string

    @Column({ type: "int" })
    order: number
}